<?
/*权限集对应名称*/
$_auth_group=array(
    1=>"销售管理",
    2=>"产品管理",
    "a"=>"营销管理",
    3=>"交易管理",
    4=>"合作伙伴",
    5=>"财务管理",
    6=>"系统设置",
    7=>"码商管理",
    8=>"网站管理",
	9=>'统计分析'
);

/**
 *权限配置数组,键值数组.
 *@example verify权限键=>array配置数组
 *"verify"=>array(
 *			"group"=>1,   			//所属权限集
 *			"limit"=>"0,2,9",       //可访问会员权限
 *			"title"=>"票务验证",    //标题，用在左边栏和员工权限分配页面
 *			"left"=>"none"          //是否在左边栏显示,[注]默认不含该键值，需不显示请添加并标注为none
 *			"url"=>array(           //权限包含页面，[注]第一个页面将在左边栏显示。
 *				"terminal_chk.html"
 *			)
 *		)
 *@var array
 */
$_auth=array(
	"verify"=>array(
			"group"=>1,
			"limit"=>"0,2,9",
			"title"=>"票券验证",
			"url"=>array(
				"terminal_chk.html"
			)
		),
	"pro"=>array(
			"group"=>1,
			"limit"=>"0,1",
			"title"=>"产品预订",
			"url"=>array(
				"plist.html"
			)
		),
	"order"=>array(
			"group"=>1,
			"limit"=>"0,1,5",
			"title"=>"已买到的产品",
			"url"=>array(
				"buyProduct.html"
			)
		),
	"sale"=>array(
			"group"=>1,
			"limit"=>"0,7,9",
			"title"=>"已卖出的产品",
			"url"=>array(
				"saleProduct.html"
			)
		),
    "sale_land"=>array(
			"group"=>1,
			"limit"=>"2",
			"title"=>"已卖出的产品",
			"url"=>array(
				"saleProduct_land.html"
			)
		),
    /*
      "orderReport"=>array(
              "group"=>1,
              "limit"=>"0,1,7,9",
              "target"=>"_blank",
              "title"=>"销售报表",
              "url"=>array(
                  "orderReport.html"
              )
          ),
     */
    "orderReport_land"=>array(
			"group"=>1,
			"limit"=>"2",
			"target"=>"_blank",
			"title"=>"销售报表",
			"url"=>array(
				"orderReport_land.html"
			)
		),
    "yd_report"=>array(
        "group"=>1,
        "limit"=>"0,1,6",
        "target"=>"_blank",
        "title"=>"销售报表",
        "url"=>array(
            "yd_report.html"
        )
    ),
	"buyOrderReport"=>array(
			"group"=>1,
			"limit"=>"0",
			"target"=>"_blank",
			"title"=>"购买报表",
			"left"=>"none",
			"url"=>array(
				"buyOrderReport.html"
			)
		),
	"terchange"=>array(
			"group"=>1,
			"limit"=>"0,1,2,9",
			"title"=>"异常订单处理",
			"url"=>array(
				"terchange.html"
			)
		),
    "qunaer"=>array(
        "group"=>"a",
        "limit"=>"0,1",
        "title"=>"去哪儿绑定",
        "url"=>array(
            "qunaer.html",
            
        )
    ),
	"modify"=>array(
			"group"=>1,
			"limit"=>"0,1",
			"left"=>"none",
			"title"=>"终端撤改",
			"url"=>array(
				"terchange.html"
			)
		),
	"release"=>array(
			"group"=>2,
			"limit"=>"0",
			"title"=>"发布新产品",
			"url"=>array(
				"prod_type.html"
			)
		),
	"upProd"=>array(
			"group"=>2,
			"limit"=>"0,9",
			"title"=>"出售中产品",
			"url"=>array(
				"prodlists.html",
			)
		),
	"downProd"=>array(
			"group"=>2,
			"limit"=>"0,9",
			"title"=>"仓库中产品",
			"url"=>array(
				"prodlists_s.html"
			)
		),
	"ssss"=>array(
			"group"=>"a",
			"limit"=>"0,1",
			"title"=>"<span >淘宝/天猫绑定</span>",
			"url"=>array(
				"tao_apply.html"
			)
		),
	"wechat"=>array(
			"group"=>"a",
			"limit"=>"0,1",
			"title"=>"<span >微信公众号配置</span>",
			"url"=>array(
				"wechat.html"
			 )
		 ),
	"trecord"=>array(
			"group"=>3,
			"limit"=>"0,1,2,5,7,9",
			"title"=>"交易记录",
			"url"=>array(
				"trecord.html"
			)
		),
	"accountTrecord"=>array(
			"group"=>3,
			"limit"=>"9",
			"title"=>"会员交易记录",
			"url"=>array(
				"accountTrecord.html"
			)
		),
	"lowPartner"=>array(
			"group"=>4,
			"limit"=>"7",
			"title"=>"下属成员",
			"url"=>array(
				"partner.html",
				"partner.php"
			)
		),
	"fxPartner"=>array(
			"group"=>4,
			"limit"=>"0",
			"title"=>"合作分销商",
			"url"=>array(
				"partner.html",
				"partner.php"
			)
		),
	"supplyPartner"=>array(
			"group"=>4,
			"limit"=>"0,1",
			"title"=>"合作供应商",
			"url"=>array(
				"partner.html?dtype=1",
				"partner.php"
			)
		),
	"addlow"=>array(
			"group"=>4,
			"limit"=>"0",
			"title"=>"添加分销商",
			"url"=>array(
				"distributor_add.html"
			)
		),
	"addalliance"=>array(
			"group"=>4,
			"limit"=>"9",
			"title"=>"添加联盟",
			"url"=>array(
				"alliance_add.html"
			)
		), 
	"getbill"=>array(
			"group"=>5,
			"limit"=>"0",
			"title"=>"应收款账单",
			"url"=>array(
				"getbill.html",
			)
		),
	"paybill"=>array(
			"group"=>5,
			"limit"=>"0,1",
			"title"=>"应付款账单",
			"url"=>array(
				"paybill.html"
			)
		),
	"file"=>array(
			"group"=>6,
			"title"=>"基本信息",
			"limit"=>"0,1,2,5,7,9",
			"url"=>array(
				"account_info.html",
				"enterprise_info.html",
				"contact.html",
				"certifi.html",
				"account_info.php"
			)
		),
	"ps"=>array(
			"group"=>6,
			"title"=>"修改密码",
			"limit"=>"0,1,2,5,7,9",
			"url"=>array(
				"chPs.html"
			)
		),
	"oper"=>array(
			"group"=>6,
			"limit"=>"0,1,7,9",
			"title"=>"员工管理",
			"url"=>array(
				"operlist.html",
				"powguanli.html",
				"powguanli.php",
				"operatorRecord.html"
			)
		),
	"soap"=>array(
			"group"=>6,
			"limit"=>"0,1",
			"title"=>"对接接口",
			"url"=>array(
				"soap.html",
				"soap.php"
			)
		),
    "travelJournal"=>array(
			"group"=>8,
			"limit"=>"7",
			"title"=>"游记管理",
			"url"=>array(
				"blog.html",
				"lineManage.html"               
			)
		),
    "lineManage"=>array(
			"group"=>8,
			"limit"=>"7",
			"title"=>"路线管理",
			"url"=>array(
				"travelManage.html"                
			)
		),
    "theme"=>array(
			"group"=>8,
			"limit"=>"7",
			"title"=>"首页编辑",
			"url"=>array(
				"theme_t.html",
			)
		),
	"ali_refund"=>array(
			"group"=>5,
			"limit"=>"0,1,7,9",
			"title"=>"支付宝退款申请",
            "target"=>"_blank",
			"url"=>array(
				"ali_refund.html"
			)
		),
	"column"=>array(
			"group"=>8,
			"limit"=>"7",
			"title"=>"栏目编辑",
			"url"=>array(
				"column.html",
			)
		),
    "orderReport"=>array(
        "group"=>9,
        "limit"=>"0,1,7,9",
        "target"=>"_blank",
        "title"=>"销售报表",
        "url"=>array(
            "orderReport.html"
        )
    ),
    "orderReport_Com"=>array(
        "group"=>9,
        "limit"=>"0,1,3,9",
        "target"=>"_blank",
        "title"=>"数据罗盘",
        "url"=>array(
            "orderReport_Com.html"
        )
    ),
	"channels_conf"=>array(
		"group"=>2,
		"limit"=>"0,1,9",
		"title"=>"销售渠道配置",
		"url"=>array(
			"channels_conf.html"
		)
	),
    "buyOrderReport"=>array(
        "group"=>9,
        "limit"=>"0,1",
        "target"=>"_blank",
        "title"=>"购买报表",
        "url"=>array(
            "buyOrderReport.html"
        )
    ),
);

?>